home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / doslynx / inc / ttempnam.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  831 b   |  37 lines

  1. #ifndef __TTEMPNAME_H
  2. //    Avoid include redundancy
  3. #define __TTEMPNAME_H
  4.  
  5. //    Copyright (c) 1994, University of Kansas, All Rights Reserved
  6. //
  7. //    Include File:    ttempnam.h
  8. //    Purpose:    Provide class to handle creation of temporary file
  9. //            names.
  10. //    Remarks/Portability/Dependencies/Restrictions:
  11. //        Does nothing but create the temporary name.
  12. //        If several TTempName object are created in a row, their names
  13. //        may be the same.
  14. //    Revision History:
  15. //        02-15-94    created
  16.  
  17. //    Constant defines
  18.  
  19. //    Required includes
  20. #include<stddef.h>
  21.  
  22. //    Class declarations
  23. class TTempName    {
  24.     const char *cp_TempName;
  25. public:
  26.     TTempName(const char *cp_TemporaryDir = NULL);
  27.     ~TTempName();
  28.     const char *getName() const;
  29.     void unlink() const;
  30. };
  31.  
  32. //    Global variable declarations
  33.  
  34. //    Macros
  35.  
  36. #endif // __TTEMPNAME_H
  37.